home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 1.toast / pc / sample code / contributed / waste / demo / source / wedemomain.c < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-23  |  319 b   |  27 lines

  1. /*
  2.     WASTE Demo Project:
  3.     Main Program
  4.  
  5.     Copyright © 1993-1998 Marco Piovanelli
  6.     All Rights Reserved
  7.  
  8.     C port by John C. Daub
  9. */
  10.  
  11. #ifndef __WEDEMOAPP__
  12. #include "WEDemoIntf.h"
  13. #endif
  14.  
  15. void main ( void )
  16. {
  17.     if ( Initialize ( ) == noErr )
  18.     {
  19.         do
  20.         {
  21.             ProcessEvent ( ) ;
  22.         } while ( ! gExiting ) ;
  23.     }
  24.  
  25.     Finalize ( ) ;
  26. }
  27.